package Test4;

/*
1,有一个水果销售摊位,销售3种水果,重量和单价各不相同,实现多次的销售业务
2,销售时如果为顾客为女性销售金额打8折
3,显示当前各种水果的库存数
4,查询全部销售记录信息
5,加入其它水果品种
6,添加进货单
7,查询指定日期间隔的销售纯利润
8,每日17: :00之后为5折特价
9,按销售数量排序显示前三名
10,示当前各种水果的库存数,成本单价,单价,累计销售数量/金额,累计进货数量/金额
 */
public class PurchesList{


private String name;//水果名称
private double amount;//数量
private double costPrice;//成本价
private double total;//总花费
private double price;//销售单价
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public double getAmount() {
	return amount;
}
public void setAmount(double amount) {
	this.amount = amount;
}
public double getCostPrice() {
	return costPrice;
}
public void setCostPrice(double costPrice) {
	this.costPrice = costPrice;
}
public double getTotal() {
	return total;
}
public void setTotal(double total) {
	this.total = total;
}
public double getPrice() {
	return price;
}
public void setPrice(double price) {
	this.price = price;
}
public PurchesList(String name, double amount, double cost_price, double total, double price) {
	super();
	this.name = name;
	this.amount = amount;
	this.costPrice = cost_price;
	this.total = total;
	this.price = price;
}
public PurchesList() {
	super();
	// TODO Auto-generated constructor stub
}

}
